<%-- 
    Document   : mybid
    Created on : Jan 1, 2012, 10:17:57 PM
    Author     : HoangLiem
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<link href="style/mybid.css" rel="stylesheet" type="text/css"/>
<div>
    <c:choose>
        <c:when test="${dsUserBidWin.size() > 0}">
            <div class="item">
                <div class="item_1" style="padding-left:10px;">Sản phẩm</div>
                <div class="item_2"></div>
                <div class="item_3" style="margin-left:470px;">Số lượng</div>
                <div class="item_4"> Thành tiền</div>
            </div>
            <c:forEach var="i" begin="0" end="${dsUserBidWin.size() - 1}" step="1">
                <div class="item">
                    <div class="item_1">
                        <img width="180px" height="180px" src="images/productImages/${dshinhBidWin[i][0].tenHinhAnh}"/>
                    </div>
                    <div class="item_2">
                        <h3><a href="chiTietSanPham?id=${dsUserBidWin[i].maSanPham}">${dsUserBidWin[i].tenSanPham}</a></h3>
                        <h5>Giá Win : ${dsgia[i]},000 VNĐ</h5>
                    </div>
                    <div class="item_3">
                        <input type="text" id="soLuong" name="soLuong"/>
                        <a href="#">Xóa</a>
                    </div>
                    <div class="item_4">
                        <h4>${dsgia[i]},000 VNĐ</h4>
                        <a target="_blank" href="mybid2?id=${dsUserBidWin[i].maSanPham}"><img src="https://www.nganluong.vn/data/images/buttons/7.gif"  border="0" /></a>  
                    </div>
                </div>
            </c:forEach>
        </c:when>
        <c:otherwise>
            <h3>Bạn chưa win sản phẩm nào.</h3>
        </c:otherwise>
    </c:choose>
</div>